package com.zdy.im.user.entity;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.common.data.BaseEntity;
import com.sixeco.framework.core.db.ext.DS;
import com.zdy.im.user.ImDatasourceName;

/**
 * @Title: ImUserFriendShip.java
 * @Description: 用户好友列关系表的数据模型
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
 * @version V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
@DS(ImDatasourceName.IM_DATA_NAME)
public class ImUserFriendShip extends BaseEntity{

private static final long serialVersionUID = 1L;




 		/** status 删除状态(1-正常,0-已删除)  */
 		@ApiDesc(value = "删除状态(1-正常,0-已删除)", required = 0)
 		private int status;

 		/** userId 用户id  */
 		@ApiDesc(value = "用户id", required = 0)
 		private long userId;

 		/** friendId 好友id  */
 		@ApiDesc(value = "好友id", required = 0)
 		private long friendId;

 		/** friendRemarks 用户备注名称  */
 		@ApiDesc(value = "用户备注名称", required = 0)
 		private String friendRemarks;

 		/** userGroupId 用户好友分组id  */
 		@ApiDesc(value = "用户好友分组id", required = 0)
 		private long userGroupId;

 		/** userGroupName 用户分组名称，修改组名，同步  */
 		@ApiDesc(value = "用户分组名称，修改组名，同步", required = 0)
 		private String userGroupName;

 		/** remarks 备注  */
 		@ApiDesc(value = "备注", required = 0)
 		private String remarks;

 		/** sort 0默认置顶  */
 		@ApiDesc(value = "0默认置顶", required = 0)
 		private int sort;


    public static ImUserFriendShip build(){
        return new ImUserFriendShip();
    }

 		public void setStatus( int status){
 		 		this.status = status ; 
 		 		}
 		public ImUserFriendShip toStatus( int status){
 		 		this.status = status ; 
 		 		 return this ;
 		}

 		public int getStatus(){
 		 		return this.status;
 		}
 		public void setUserId( long userId){
 		 		this.userId = userId ; 
 		 		}
 		public ImUserFriendShip toUserId( long userId){
 		 		this.userId = userId ; 
 		 		 return this ;
 		}

 		public long getUserId(){
 		 		return this.userId;
 		}
 		public void setFriendId( long friendId){
 		 		this.friendId = friendId ; 
 		 		}
 		public ImUserFriendShip toFriendId( long friendId){
 		 		this.friendId = friendId ; 
 		 		 return this ;
 		}

 		public long getFriendId(){
 		 		return this.friendId;
 		}
 		public void setFriendRemarks( String friendRemarks){
 		 		this.friendRemarks = friendRemarks ; 
 		 		}
 		public ImUserFriendShip toFriendRemarks( String friendRemarks){
 		 		this.friendRemarks = friendRemarks ; 
 		 		 return this ;
 		}

 		public String getFriendRemarks(){
 		 		return this.friendRemarks;
 		}
 		public void setUserGroupId( long userGroupId){
 		 		this.userGroupId = userGroupId ; 
 		 		}
 		public ImUserFriendShip toUserGroupId( long userGroupId){
 		 		this.userGroupId = userGroupId ; 
 		 		 return this ;
 		}

 		public long getUserGroupId(){
 		 		return this.userGroupId;
 		}
 		public void setUserGroupName( String userGroupName){
 		 		this.userGroupName = userGroupName ; 
 		 		}
 		public ImUserFriendShip toUserGroupName( String userGroupName){
 		 		this.userGroupName = userGroupName ; 
 		 		 return this ;
 		}

 		public String getUserGroupName(){
 		 		return this.userGroupName;
 		}
 		public void setRemarks( String remarks){
 		 		this.remarks = remarks ; 
 		 		}
 		public ImUserFriendShip toRemarks( String remarks){
 		 		this.remarks = remarks ; 
 		 		 return this ;
 		}

 		public String getRemarks(){
 		 		return this.remarks;
 		}
 		public void setSort( int sort){
 		 		this.sort = sort ; 
 		 		}
 		public ImUserFriendShip toSort( int sort){
 		 		this.sort = sort ; 
 		 		 return this ;
 		}

 		public int getSort(){
 		 		return this.sort;
 		}
}